package com.fjec.devops.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fjec.devops.feign.ActivityClient;
import com.fjec.devops.service.ActivityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class ActivityServiceImpl implements ActivityService {

    @Autowired
    private ActivityClient activityClient;
    @Override
    public Map<String, Object> giftChangeRecords(Integer searchBy, String title, Integer busiType, Integer opeType, String startTime, String endTime, Page page) {
        return activityClient.giftChangeRecords(searchBy, title, busiType, opeType,
                startTime, endTime, page.getCurrent(), page.getSize());
    }
}
